Interface Config


public interface Config
This interface provides configuration data required to configure the connection pool.
It includes:
1. Server Details
2. Proxy Details
3. Login Handler
4. Connection pool configuration data
  • Method Details

    • getServerDetails

      ServerDetails getServerDetails()
      Get the server details. This should never return null.
      Returns:
      The server details.
    • getProxyDetails

      ProxyDetails getProxyDetails()
      Get the proxy details. Return null if there is no proxy required.
      Returns:
      The proxy details.
    • getLoginHandler

      LoginHandler getLoginHandler()
      Get the LoginHandler instance. This should never return null.
      Returns:
      The LoginHandler instance.
    • getConnectionPoolConfig

      ConnectionPoolConfig getConnectionPoolConfig()
      Get the connection pool configuration details. This should never return null.
      Returns:
      The ConnectionPoolConfig instance.
    • getIsIncludeInlineAttachmentsInMailBody

      boolean getIsIncludeInlineAttachmentsInMailBody()
      Get the IncludeInlineAttachmentsInMailBody configuration details.
      Returns:
      The IncludeInlineAttachmentsInMailBody instance.